<?php

/**
 * View Archivio Artisti LaFabbrica.org
 * 
 * @author     luigi.pastore (gigi@la-fabbrica.org)
 * @created    21-apr-2011
 * @package    LaFabbrica
 * @copyright  Copyright (c) 2011 Luigi Pastore
 */
?>
<script type="text/javascript">
    //<![CDATA[

    $(document).ready(function()
    {

    });

    //]]>
</script>
<div class="info">
    <h2>Archivio Artisti</h2>
    <div>Per inserire un nuovo post...</div>
</div>
        <!-- Container element for all the Elements that are to be paginated -->
        <ul id="hiddenresult" style="display:none;">

        </ul>
<form>
    <ul>
	<li class="addnew">
	    <a class="button" href="nuovo">
		<img src="/images/admin/add-new.png" />Nuovo Artista
	    </a>
	</li>	
    </ul>
</form>
<div class="group">
    <ul id="artists">

	<?php foreach( $this->artists AS $artist ) : ?>
	    
	<li id="artist_<?php echo $artist['artist_id']?>" class="first result">
	    <h4>
		<a>
		    <?php echo $artist['artist_name'] ?>
		</a>
	    </h4>

	    <div id="expandThis">
		<div class="actions">
		    <div>
			<a class="live" href="#">Booking</a>
		    </div>
		    <div>
			<a class="edit" href="/admin/artisti/info/id/<?php echo $artist['artist_id']?>">Edit</a>
			<a class="del" href="">Canc</a>
		    </div>
		</div>
	    </div>
	</li>	    

	<?php endforeach; ?>
	
    </ul>
</div><!--group-->	
